Repository navigation
App paska menu: brak ikony (petla TimelineView) i pilnowanie aplikacji - #83
Merged
Merged
Conversation
…e aplikacji
Etykieta MenuBarExtra uzywala TimelineView(.periodic(from: .now)): kazde
renderowanie startowalo nowy harmonogram, status item wpadal w nieskonczona
petle (100% CPU, brak ikony). Zegar przeniesiony do MenuBarClock.
Dodatkowo: NSSupports{Automatic,Sudden}Termination=false, a watchdog
backup-health ponownie otwiera aplikacje (AppKeepAlive, limit 15 min,
szanuje Quit z menu).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AU1MhuGSAj8JTZKLqUoP7Q
… timeout open) Heartbeat z zegara + UWAGA o zawieszonej aplikacji, ozywianie po raporcie, timeout open 15 s, pominiecie podczas aktualizacji, max 3 proby do startu aplikacji, tlumaczenia komunikatow, testy zegara przez wstrzykiwany scheduler. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AU1MhuGSAj8JTZKLqUoP7Q
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AU1MhuGSAj8JTZKLqUoP7Q
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Diagnoza (glowna przyczyna): od #69 (1.3.36) etykieta MenuBarExtra uzywala TimelineView(.periodic(from: .now, by: 30)). .now liczone przy kazdym body = nowy harmonogram = natychmiastowe odswiezenie = nieskonczona petla w updateButton (sample: 99,6% CPU, 0 menu bars w System Events). Ikona nigdy nie powstawala.
Poprawka petli: MenuBarClock - jeden timer 30 s poza widokiem (wstrzykiwany scheduler, ginie z obiektem), kazdy tik zapisuje heartbeat.
Zabezpieczenie na zapas (NIE naprawa petli): NSSupportsAutomaticTermination/SuddenTermination=false + disableAutomaticTermination.
Pilnowanie: watchdog backup-health PO wypisaniu raportu otwiera aplikacje (open -g, timeout 15 s), gdy jej nie ma - chyba ze Quit z menu, trwa aktualizacja (bundle zmieniony <5 min lub brew), minelo <5 min od proby albo bylo juz 3 proby od startu aplikacji. Zawieszona aplikacja (proces jest, heartbeat starszy niz 5 min) = tylko UWAGA w raporcie, bez zabijania.
Znane ograniczenie: drugi egzemplarz (lokalny build, inna sciezka) liczy sie jako dzialajacy (po bundle id); ozywiany jest tylko /Applications/CloudMachine.app.
Testy: swift test 1119; czerwone tylko 3 testy zalezne od limactl (TMBundleScriptTests x2, VMEmbedTests), niezwiazane. Po scaleniu potrzebne wydanie (cask).
🤖 Generated with Claude Code
https://claude.ai/code/session_01AU1MhuGSAj8JTZKLqUoP7Q